x86:vlapic: Fix possible guest tick losing after save/restore
authorKeir Fraser <keir@xen.org>
Thu, 9 Dec 2010 08:34:59 +0000 (08:34 +0000)
committerKeir Fraser <keir@xen.org>
Thu, 9 Dec 2010 08:34:59 +0000 (08:34 +0000)
commit73c602edff0024f5f4b27d3e3d0a7fcf724083f3
tree40f8b87464886bbd4372f26159d412e25d73cb7d
parent1a5e650389f7cfeeee554fca63ca3e748a7dadc5
x86:vlapic: Fix possible guest tick losing after save/restore

Guest vcpu may totally lose all ticks if the vlapic->pt.irq was not
restored during save/restore process. Fix it.

Signed-off-by: Wei Gang <gang.wei@intel.com>
xen/arch/x86/hvm/vlapic.c